@layout("/common/_container.html"){
<style>
    input {
        border: 1px solid #a9a9a9;
    }
    input, select {
        border-radius: 3px;
    }
    .ul_li > li{
        float: left;
        margin-right: 20px;
    }
    .record_box ul {
        padding: 0;
        margin: 0;
    }
    .btn_box button {
        margin: 0;
        color: white;
        background: #2b6594;
        padding: 6px 20px;
        font-size: 1em;
    }
    .bigSize {
        font-size: 1.2em;
    }
    .selectBox {
        width: 205px;
        height: 38px;
        padding-left: 10px;
    }
    .choice_btn {
        background: #5e8aa3;
        color: white;
        padding: 3px 10px;
        font-size: 1em;
        height: 38px;
        margin-bottom: 3px;
    }
</style>
<div class="ibox float-e-margins ">
    <div class="ibox-content record_box">
        <div style="display: none">
            <input type="hidden" id="id" value="">
            <input type="hidden" id="outpatientNameValue" value="">
        </div>
        <div class="row bigSize">
            <div class="col-sm-12" style="margin-bottom: 40px;">
                <ul class="ul_li clearfix">
                    <li>
                        <label>门诊</label>
                        <select id="outpatientName" name="outpatientName" class="selectBox" onchange="ApprovalProcess.search()">
                        </select>
                    </li>
                    <li>
                        <label>审核状态</label>
                        <select id="status" name="status" class="selectBox" onchange="ApprovalProcess.search()">
                            <option value="">全部</option>
                            <option value="0">待审核</option>
                            <option value="1">已审核</option>
                            <option value="2">分管主任审核</option>
                        </select>
                    </li>
                    <li>
                        <label>审核结果</label>
                        <select id="result" name="result" class="selectBox" onchange="ApprovalProcess.search()">
                            <option value="">全部</option>
                            <option value="0">未同意</option>
                            <option value="1">已同意</option>
                        </select>
                    </li>
                    <li>
                        <label style="text-indent: 1em;">建档人</label>
                        <input type="text" id="archiving" class="selectBox" style="width: 120px;" oninput="ApprovalProcess.search()">
                        <button type="button" class="btn choice_btn" onclick="ApprovalProcess.getArchiving()" style="margin-bottom: 3px;">请选择</button>
                    </li>
                    <li>
                        <label>提交时间</label>
                        <input type="text" id="startTime" style="width: 186px;height: 39px;padding-left: 5px;"
                               onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss'})">
                        <span>-</span>
                        <input type="text" id="endTime" style="width: 186px;height: 39px;padding-left: 5px;"
                               onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss'})">
                    </li>
                    <li style="margin: 0;" class="btn_box">
                        <button type="button" class="btn" onclick="ApprovalProcess.resetSearch()">清空</button>
                    </li>
                </ul>
            </div>
        </div>

        <#table id="ApprovalProcessTable"/>
    </div>
</div>
<script src="${ctxPath}/static/js/common/bootstrap-table-objectss.js"></script>
<script src="${ctxPath}/static/modular/returnVisit/approval_process.js"></script>
@}